-
Notifications
You must be signed in to change notification settings - Fork 453
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Repository is now instanciated on the fly #440
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Tests are failing tho |
Right, there was a test conflicting with the very purpose of this pull request. I removed this test. There are still some failing tests, but I guess these out of memory errors are unrelated. |
The unit tests have improved greatly the last couple of weeks. Could you rebase on top of master? |
25b47fa
to
4b2db2d
Compare
This avoids a database connection to be established for every request Fixes issue FriendsOfSymfony#422
48bf733
to
208110e
Compare
Ok @dinamic , I made the rebase and tests are fine now. |
Can you handle authcodemanagers too? |
This avoids a database connection to be established for every request Completes fix for issue FriendsOfSymfony#422
Yes @dkarlovi, good point. AuthCodeManagers are handled as well now. |
No more repository instantiated in constructor of ClientManager and TokenManager.
This avoids a database connection to be established for every request.
Fixes issue #422